package com.jh.jutil.worker;


import java.util.HashSet;
import java.util.Set;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author namhh
 */
public abstract class MonitorPool  extends Pool implements Subject {

    private Set<Observer> obsersvers = new HashSet<>();

    @Override
    public void add(Observer observer) {
        obsersvers.add(observer);
    }

    @Override
    public void remove(Observer observer) {
        obsersvers.remove(observer);
    }
}
